package cn.edu.cqupt.model;

import java.util.Date;

public class Comments {
    private String commentid;

    private String comment;

    private Date createtime;

    private Date edittime;

    private String userid;

    private String heartid;

    public String getCommentid() {
        return commentid;
    }

    public void setCommentid(String commentid) {
        this.commentid = commentid == null ? null : commentid.trim();
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getEdittime() {
        return edittime;
    }

    public void setEdittime(Date edittime) {
        this.edittime = edittime;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getHeartid() {
        return heartid;
    }

    public void setHeartid(String heartid) {
        this.heartid = heartid == null ? null : heartid.trim();
    }
}